<%@ page import="java.util.Enumeration" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>使用request内置对象——requestShowInfo.jsp</title>
</head>
<body bgcolor="#ccffcc">
<h1>您刚输入的内容是:<br></h1>
<%
  Enumeration enu =request.getParameterNames();
  while (enu.hasMoreElements()){
    String parameterName = (String) enu.nextElement();
    String parametervalue =request.getParameter(parameterName);
    out.print("参数名称:"+parameterName+"<br>");
    out.print("参数内容:"+parametervalue+"<br>");
  }
%>

</body>
</html>
